package com.model
{
	public class DeskInfo
	{
		import flash.utils.Dictionary;
		
		private var gameId:String;//所属游戏
        private var roomId:String;//所属房间
        private var deskId:int = 0;//桌子编号
        private var userList:Array = new Array();//桌子上的玩家信息
        private var chairList:Dictionary = new Dictionary();//椅子标识和玩家标识的对应
        private var isStart:Boolean = false;//标识桌子是否已经在比赛
        private var startChairId:int = 0;//开始第一个走棋的椅子标识
        
		public function DeskInfo()
		{
			
		}

		public function get GameId():String
		{
			return this.gameId;
		}
		public function set GameId(_gameId:String):void
		{
			this.gameId=_gameId;
		}
		public function get RoomId():String
		{
			return this.roomId;
		}
		public function set RoomId(_roomId:String):void
		{
			this.roomId=_roomId;
		}
		public function get DeskId():int
		{
			return this.deskId;
		}
		public function set DeskId(_deskId:int):void
		{
			this.deskId=_deskId;
		} 
		
		public function get UserList():Array
		{
			return this.userList;
		}
		public function set UserList(_userList:Array):void
		{
			this.userList=_userList;
		} 
		
		public function get ChairList():Dictionary
		{
			return this.chairList;
		}
		public function set ChairList(_chairList:Dictionary):void
		{
			this.chairList=_chairList;
		} 
		
		public function get IsStart():Boolean
		{
			return this.isStart;
		}
		public function set IsStart(_isStart:Boolean):void
		{
			this.isStart=_isStart;
		} 
		
		public function get StartChairId():int
		{
			return this.startChairId;
		}
		public function set StartChairId(_startChairId:int):void
		{
			this.startChairId=_startChairId;
		} 
	}
}